package com.ruoyi.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 药物不良事件药品对象 he_event_basic_undesirable
 * 
 * @author ruoyi
 * @date 2024-08-19
 */
public class HeEventBasicUndesirable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 事件上报信息表ID */
    @Excel(name = "事件上报信息表ID")
    private Long reportEventId;

    /** 类型(怀疑、并用药品) */
    @Excel(name = "类型(怀疑、并用药品)")
    private String undesirableType;

    /** 药品种类 */
    @Excel(name = "药品种类")
    private String undesirableDrugType;

    /** 批准文号 */
    @Excel(name = "批准文号")
    private String undesirableApprovalNumber;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String undesirableCommodityName;

    /** 通用名称 */
    @Excel(name = "通用名称")
    private String undesirableGenericName;

    /** 剂型 */
    @Excel(name = "剂型")
    private String undesirableDosageForm;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String undesirableManufacturer;

    /** 生产批号 */
    @Excel(name = "生产批号")
    private String undesirableProductionBatch;

    /** 用量 */
    @Excel(name = "用量")
    private String undesirableDose;

    /** 单位 */
    @Excel(name = "单位")
    private String undesirableUnit;

    /** 日 */
    @Excel(name = "日")
    private String undesirableDay;

    /** 次 */
    @Excel(name = "次")
    private String undesirableFrequency;

    /** 给药途径 */
    @Excel(name = "给药途径")
    private String undesirableAdministrationRoute;

    /** 用药起时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "用药起时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date undesirableStartTime;

    /** 用药止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "用药止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date undesirableStopTime;

    /** 用药原因 */
    @Excel(name = "用药原因")
    private String undesirableMedicationUseReason;

    /** 备注1 */
    @Excel(name = "备注1")
    private String note1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String note2;

    /** 备注3 */
    @Excel(name = "备注3")
    private String note3;

    /** 备注4 */
    @Excel(name = "备注4")
    private String note4;

    /** 备注5 */
    @Excel(name = "备注5")
    private String note5;

    /** 备注6 */
    @Excel(name = "备注6")
    private String note6;

    /** 备注7 */
    @Excel(name = "备注7")
    private String note7;

    /** 备注8 */
    @Excel(name = "备注8")
    private String note8;

    /** 备注9 */
    @Excel(name = "备注9")
    private String note9;

    /** 备注10 */
    @Excel(name = "备注10")
    private String note10;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setReportEventId(Long reportEventId) 
    {
        this.reportEventId = reportEventId;
    }

    public Long getReportEventId() 
    {
        return reportEventId;
    }
    public void setUndesirableType(String undesirableType) 
    {
        this.undesirableType = undesirableType;
    }

    public String getUndesirableType() 
    {
        return undesirableType;
    }
    public void setUndesirableDrugType(String undesirableDrugType) 
    {
        this.undesirableDrugType = undesirableDrugType;
    }

    public String getUndesirableDrugType() 
    {
        return undesirableDrugType;
    }
    public void setUndesirableApprovalNumber(String undesirableApprovalNumber) 
    {
        this.undesirableApprovalNumber = undesirableApprovalNumber;
    }

    public String getUndesirableApprovalNumber() 
    {
        return undesirableApprovalNumber;
    }
    public void setUndesirableCommodityName(String undesirableCommodityName) 
    {
        this.undesirableCommodityName = undesirableCommodityName;
    }

    public String getUndesirableCommodityName() 
    {
        return undesirableCommodityName;
    }
    public void setUndesirableGenericName(String undesirableGenericName) 
    {
        this.undesirableGenericName = undesirableGenericName;
    }

    public String getUndesirableGenericName() 
    {
        return undesirableGenericName;
    }
    public void setUndesirableDosageForm(String undesirableDosageForm) 
    {
        this.undesirableDosageForm = undesirableDosageForm;
    }

    public String getUndesirableDosageForm() 
    {
        return undesirableDosageForm;
    }
    public void setUndesirableManufacturer(String undesirableManufacturer) 
    {
        this.undesirableManufacturer = undesirableManufacturer;
    }

    public String getUndesirableManufacturer() 
    {
        return undesirableManufacturer;
    }
    public void setUndesirableProductionBatch(String undesirableProductionBatch) 
    {
        this.undesirableProductionBatch = undesirableProductionBatch;
    }

    public String getUndesirableProductionBatch() 
    {
        return undesirableProductionBatch;
    }
    public void setUndesirableDose(String undesirableDose) 
    {
        this.undesirableDose = undesirableDose;
    }

    public String getUndesirableDose() 
    {
        return undesirableDose;
    }
    public void setUndesirableUnit(String undesirableUnit) 
    {
        this.undesirableUnit = undesirableUnit;
    }

    public String getUndesirableUnit() 
    {
        return undesirableUnit;
    }
    public void setUndesirableDay(String undesirableDay) 
    {
        this.undesirableDay = undesirableDay;
    }

    public String getUndesirableDay() 
    {
        return undesirableDay;
    }
    public void setUndesirableFrequency(String undesirableFrequency) 
    {
        this.undesirableFrequency = undesirableFrequency;
    }

    public String getUndesirableFrequency() 
    {
        return undesirableFrequency;
    }
    public void setUndesirableAdministrationRoute(String undesirableAdministrationRoute) 
    {
        this.undesirableAdministrationRoute = undesirableAdministrationRoute;
    }

    public String getUndesirableAdministrationRoute() 
    {
        return undesirableAdministrationRoute;
    }
    public void setUndesirableStartTime(Date undesirableStartTime) 
    {
        this.undesirableStartTime = undesirableStartTime;
    }

    public Date getUndesirableStartTime() 
    {
        return undesirableStartTime;
    }
    public void setUndesirableStopTime(Date undesirableStopTime) 
    {
        this.undesirableStopTime = undesirableStopTime;
    }

    public Date getUndesirableStopTime() 
    {
        return undesirableStopTime;
    }
    public void setUndesirableMedicationUseReason(String undesirableMedicationUseReason) 
    {
        this.undesirableMedicationUseReason = undesirableMedicationUseReason;
    }

    public String getUndesirableMedicationUseReason() 
    {
        return undesirableMedicationUseReason;
    }
    public void setNote1(String note1) 
    {
        this.note1 = note1;
    }

    public String getNote1() 
    {
        return note1;
    }
    public void setNote2(String note2) 
    {
        this.note2 = note2;
    }

    public String getNote2() 
    {
        return note2;
    }
    public void setNote3(String note3) 
    {
        this.note3 = note3;
    }

    public String getNote3() 
    {
        return note3;
    }
    public void setNote4(String note4) 
    {
        this.note4 = note4;
    }

    public String getNote4() 
    {
        return note4;
    }
    public void setNote5(String note5) 
    {
        this.note5 = note5;
    }

    public String getNote5() 
    {
        return note5;
    }
    public void setNote6(String note6) 
    {
        this.note6 = note6;
    }

    public String getNote6() 
    {
        return note6;
    }
    public void setNote7(String note7) 
    {
        this.note7 = note7;
    }

    public String getNote7() 
    {
        return note7;
    }
    public void setNote8(String note8) 
    {
        this.note8 = note8;
    }

    public String getNote8() 
    {
        return note8;
    }
    public void setNote9(String note9) 
    {
        this.note9 = note9;
    }

    public String getNote9() 
    {
        return note9;
    }
    public void setNote10(String note10) 
    {
        this.note10 = note10;
    }

    public String getNote10() 
    {
        return note10;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("reportEventId", getReportEventId())
            .append("undesirableType", getUndesirableType())
            .append("undesirableDrugType", getUndesirableDrugType())
            .append("undesirableApprovalNumber", getUndesirableApprovalNumber())
            .append("undesirableCommodityName", getUndesirableCommodityName())
            .append("undesirableGenericName", getUndesirableGenericName())
            .append("undesirableDosageForm", getUndesirableDosageForm())
            .append("undesirableManufacturer", getUndesirableManufacturer())
            .append("undesirableProductionBatch", getUndesirableProductionBatch())
            .append("undesirableDose", getUndesirableDose())
            .append("undesirableUnit", getUndesirableUnit())
            .append("undesirableDay", getUndesirableDay())
            .append("undesirableFrequency", getUndesirableFrequency())
            .append("undesirableAdministrationRoute", getUndesirableAdministrationRoute())
            .append("undesirableStartTime", getUndesirableStartTime())
            .append("undesirableStopTime", getUndesirableStopTime())
            .append("undesirableMedicationUseReason", getUndesirableMedicationUseReason())
            .append("note1", getNote1())
            .append("note2", getNote2())
            .append("note3", getNote3())
            .append("note4", getNote4())
            .append("note5", getNote5())
            .append("note6", getNote6())
            .append("note7", getNote7())
            .append("note8", getNote8())
            .append("note9", getNote9())
            .append("note10", getNote10())
            .append("creationTime", getCreationTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .toString();
    }
}
